package com.tfjybj.itoo.exam.provider.service;

import com.dmsdbj.itoo.tool.base.service.BaseServicePlus;
import com.github.pagehelper.PageInfo;
import com.tfjybj.itoo.exam.entity.ChangeQuestionEntity;
import com.tfjybj.itoo.exam.model.ChangeQuestionModel;


/**
 * ChangeQuestionService接口
 * changeQuestion表
 *
 * @author 贾建清
 * @version 2.0.0
 * @since 2.0.0 2018-12-30 09:44:46
 */
public interface ChangeQuestionService extends BaseServicePlus<ChangeQuestionEntity> {

    PageInfo<ChangeQuestionModel> queryChangeQuestionByLikeContent(String content, String operator, Integer pageNo, Integer pageSize);

    /**
     * 将当前考试抽到错题的考生插入到表中
     *
     * @param changeQuestionModel 单个考生的
     * @return 布尔值
     * @author 任蒙蒙
     */
    boolean insertExamineeForWrongQuestion(ChangeQuestionModel changeQuestionModel);

}
